package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Product;

import java.util.List;

/**
 * @Package: com.itheima.service
 * @ClassName: ProductService
 * @Author: 王林磊
 * @CreateTime: 2021/9/27 20:19
 * @Description:
 */
public interface ProductService {
    //添加
    void save(Product product);

    //删除
    void delete(String[] strings);

    //修改
    void update(Product product);

    //查看数据
    Product findById(String id);


    PageInfo findAll(Product product);

    List<String> findCity();

    void updateStatus(String id);
}
